package cn.xinfei.xdecision.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Map;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class DecisionExamNodeApiRequest {

    @ApiModelProperty("请求流水号")
    private String requestId; // 业务id

    @ApiModelProperty("决策流code")
    private String engineCode; // 引擎code


    @ApiModelProperty("决策流版本")
    private Long engineVersionNo;//决策流版本

    @ApiModelProperty("节点code")
    private String nodeCode; // 节点code

    @ApiModelProperty("组件规则类型")
    private String nodeType;//组件类型

    @ApiModelProperty("变量字段键值对")
    private Map<String, Object> fields; // 指标字段键值对


    @ApiModelProperty("是否对接口变量发起调用")
    private boolean invokeRemote=false;

    @ApiModelProperty("是否对测试数据持久化")
    private boolean persistence=false;
}
